package org.shuma.goods.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName operation_record
 */
@TableName(value ="operation_record")
@Data
public class OperationRecord implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long operationId;

    /**
     * 0 - 下线
1 - 上线
2 - 审批通过
3 - 发起审批
4 - 记录新增
5 - 审批驳回
     */
    private Integer operationState;

    /**
     * 操作时间

     */
    private Date operationTime;

    /**
     * 操作人
     */
    private Long operatorId;

    /**
     * 是否删除
0 - 不删除
     */
    @TableLogic
    private Integer isDelete;

    /**
     * 备注
     */
    private String remark;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}